<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
	response.setContentType("text/xml");
%>

<CoreSubjects>

<c:forEach var="CourseGroup" items="${coreGroup}">
<compulsory>
<groupCode><c:out value="${CourseGroup.groupCode}"/></groupCode>
<groupName><c:out value="${CourseGroup.groupName}"/></groupName>
<groupOrder><c:out value="${CourseGroup.groupOrder}"/></groupOrder>
<minimumSelection><c:out value="${CourseGroup.minimumSelection}"/></minimumSelection>
<maximumSelection><c:out value="${CourseGroup.maximumSelection}"/></maximumSelection>
<subGroupCode><c:out value="${CourseGroup.subGroupCode}"/></subGroupCode>
<subGroupName><c:out value="${CourseGroup.subGroupName}"/></subGroupName>
<conditionalGroup><c:out value="${CourseGroup.conditionalGroup}"/></conditionalGroup>
<linkedGroup><c:out value="${CourseGroup.linkedGroup}"/></linkedGroup>
<linkedMinimumSelection><c:out value="${CourseGroup.linkedMinimumSelection}"/></linkedMinimumSelection>
<linkedMaximumSelection><c:out value="${CourseGroup.linkedMaximumSelection}"/></linkedMaximumSelection>
</compulsory>

</c:forEach>
</CoreSubjects>